package com.fizzkai.p2p;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.PropertySources;

@Configuration
@MapperScan(basePackages = {
    "com.fizzkai.p2p.core.mapper",
    "com.fizzkai.p2p.bussness.mapper"
})

//@PropertySource({
//    "classpath:application-core.properties",
//    "classpath:msg.properties"
//})
@PropertySources({
    @PropertySource("classpath:application-core.properties"),
    @PropertySource("classpath:msg.properties")
})

public class CoreConfig {
}
